package com.yf.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 车辆实时状态
 *
 * @author wangbiao
 * @date 2016-08-17 15：11
 */
@ApiModel
public class VehicleRealStatus implements Serializable {

    private static final long serialVersionUID = 2503689143617011947L;

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    /**
     * 车辆ID
     */
    @ApiModelProperty(value = "车辆ID")
    private Integer vehicleId;

    /**
     * 车牌
     */
    @ApiModelProperty(value = "车牌")
    private String carPlate;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;


    /**
     * 时间
     */
    @ApiModelProperty(value = "时间")
    private Date time;


    /**
     * 剩余电量
     */
    @ApiModelProperty(value = "剩余电量")
    private BigDecimal dumpEnergy;

    /**
     * 里程
     */
    @ApiModelProperty(value = "里程")
    private BigDecimal mileage;

    /**
     * 水温
     */
    @ApiModelProperty(value = "水温")
    private BigDecimal waterTemperature;

    /**
     * 胎压
     */
    @ApiModelProperty(value = "胎压")
    private BigDecimal tirePressure;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Integer vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public BigDecimal getDumpEnergy() {
        return dumpEnergy;
    }

    public void setDumpEnergy(BigDecimal dumpEnergy) {
        this.dumpEnergy = dumpEnergy;
    }

    public BigDecimal getMileage() {
        return mileage;
    }

    public void setMileage(BigDecimal mileage) {
        this.mileage = mileage;
    }

    public BigDecimal getWaterTemperature() {
        return waterTemperature;
    }

    public void setWaterTemperature(BigDecimal waterTemperature) {
        this.waterTemperature = waterTemperature;
    }

    public BigDecimal getTirePressure() {
        return tirePressure;
    }

    public void setTirePressure(BigDecimal tirePressure) {
        this.tirePressure = tirePressure;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

}

